/*JS组件包*/
var js = document.scripts;
var jspath = js[js.length-1].src.substring(0,js[js.length-1].src.lastIndexOf("/")+1);
var package = jspath + 'package/';
Do.setConfig('coreLib', ['https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js']);
Do.add('fastclick', {path:'https://cdn.bootcss.com/fastclick/1.0.6/fastclick.min.js',type: 'js'});
Do.add('layer_css',{path :'https://cdn.bootcss.com/layer/3.1.0/mobile/need/layer.css',type : 'css'});
Do.add('layer',{path :'https://cdn.bootcss.com/layer/3.1.0/mobile/layer.js',type : 'js',requires : ['layer_css']});
Do.add('jform', {path:'https://cdn.bootcss.com/jquery.form/4.2.2/jquery.form.min.js',type: 'js'});
Do.add('swipercss',{path : 'https://cdn.bootcss.com/Swiper/4.1.6/css/swiper.min.css',type:'css'});
Do.add('swiper',{path : 'https://cdn.bootcss.com/Swiper/4.1.6/js/swiper.min.js',type : 'js',requires : ['swipercss']});
// Do.add('weuicss', {path: 'https://cdn.bootcss.com/weui/1.1.3/style/weui.min.css',type: 'css'});
// Do.add('jqweuicss', {path: 'https://cdn.bootcss.com/jquery-weui/1.2.1/css/jquery-weui.min.css',type: 'css'});
// Do.add('weui', {path: 'https://cdn.bootcss.com/jquery-weui/1.2.1/js/jquery-weui.min.js',type: 'js',requires: ['weuicss','jqweuicss']});
// Do.setConfig('coreLib', [jspath + 'jquery-3.3.1.min.js']);
// Do.add('fastclick', {path: jspath + 'fastclick.js',type: 'js'});
// Do.add('layer_css',{path :package + 'layer/mobile/need/layer.css',type : 'css'});
// Do.add('layer',{path :package + 'layer/mobile/layer.js',type : 'js',requires : ['layer_css']});
// Do.add('jform', {path: package + 'form/jquery.form.js',type: 'js'});
// Do.add('swipercss',{path : package + 'swiper/swiper.css',type:'css'});
// Do.add('swiper',{path : package + 'swiper/swiper.js',type : 'js',requires : ['swipercss']});
Do.add('weuicss', {path: package + 'weui/weui.min.css',type: 'css'});
Do.add('jqweuicss', {path: package + 'weui/jquery-weui.min.css',type: 'css'});
Do.add('weui', {path: package + 'weui/jquery-weui.min.js',type: 'js',requires: ['weuicss','jqweuicss']});
Do.add('routes', {path: package + 'routes/jquery.routes.js',type: 'js'});
Do.add('tpl',{path :package + 'art-tpl/template-web.js',type : 'js'});;
Do.add('lazyimg',{path : package + 'lazyimg/lazyimg.js'});
Do.add('slide',{path : package + 'slide/SuperSlide.js'});
Do.add('jweixin',{path:'https://res.wx.qq.com/open/js/jweixin-1.3.2.js'});